package com.gokzzz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gokzzz.dto.SysQuartzLogSearchQueryDTO;
import com.gokzzz.entity.SysQuartzLog;
import com.gokzzz.response.PageData;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * @author gokzzz
 * @date 2022-04-24 14:46
 */
@Validated
public interface ISysQuartzLogService extends IService<SysQuartzLog> {
    /**
     * 分页查询
     *
     * @param sysQuartzLogSearchQueryDTO 查询条件
     * @param page                       分页参数
     * @param size                       分页参数
     * @return 分页数据
     */
    PageData<SysQuartzLog> listLogByPage(@NotNull(message = "搜索条件为null") SysQuartzLogSearchQueryDTO sysQuartzLogSearchQueryDTO,
                                         @NotNull(message = "页码为null") Long page,
                                         @NotNull(message = "页数为null") Long size);
}
